package com.foolishbird.sdk.params;

import com.foolishbird.sdk.params.bean.IDCardBindObj;
import com.foolishbird.sdk.params.bean.PhoneBindObj;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;


public class BindIDCardReuqestParams extends BaseRequestParams implements Serializable {

    private static final String SERVICE = "bind_identity";



    public BindIDCardReuqestParams() {
    }

    @SerializedName("extended_fb")
    private IDCardBindObj extendedFB = new IDCardBindObj();

    @Override
    public Object getBusinissJson() {
        return extendedFB;
    }

    public IDCardBindObj getExtendedFB() {
        return extendedFB;
    }

    public void setExtendedFB(IDCardBindObj extendedFB) {
        this.extendedFB = extendedFB;
    }


    public BindIDCardReuqestParams(String name, String idNumber) {
        extendedFB.setRealName(name);
        extendedFB.setIdNumber(idNumber);
//        this.phone = phone;
//        this.verify = verify;
    }



    @Override
    public String getServiceString() {
        return SERVICE;
    }




}
